package com.gtw.modules.dao;

import com.gtw.modules.entity.TbClearingDetails;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface TbClearingDetailsDao extends BaseDao<TbClearingDetails>{

    int deleteByPrimaryKey(Integer id);

    int insert(TbClearingDetails record);

    int insertSelective(TbClearingDetails record);

    TbClearingDetails selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TbClearingDetails record);

    int updateByPrimaryKey(TbClearingDetails record);

    List<TbClearingDetails> queryByUserIdAndState(Map<String, Object> map);
}